package com.kj.platformlogistics.home.model;

import java.util.List;

public class ScanModel {


    /**
     * success : true
     * message : 操作成功！
     * code : 200
     * result : {"id":"1408676564875993090","createTime":"2021-06-26 14:40:40","waybillNumber":"D20210626144038727dae","mailName":"张三","mailPhone":"12345678901","mailAddress":"150102金水区郑州东站","receiveName":"1231","receivePhone":"12323131","receiveAddress":"150523企鹅王","orderDetailList":[{"id":"1","createBy":null,"createTime":null,"updateBy":null,"updateTime":null,"orderNumber":"121","commodityId":"1405419004613947394","commodityNum":1,"commoditySpecification":"[{\"key\":\"规格名称\",\"value\":\"1\"}]","commodityPrice":25,"commodityName":"华为p30","commodityPhoto":"temp/微信图片_20210415174441_1623912676761.png","commoditySpList":[{"key":"规格名称","values":null}]},{"id":"2","createBy":null,"createTime":null,"updateBy":null,"updateTime":null,"orderNumber":"121","commodityId":"1405423763274194945","commodityNum":1,"commoditySpecification":"[{\"key\":\"规格名称\",\"value\":\"1\"}]","commodityPrice":25,"commodityName":"华为p40","commodityPhoto":"http://zhongzhiheyi.oss-cn-zhangjiakou.aliyuncs.com/temp/微信图片_202106151520431_1623914003872.png","commoditySpList":[{"key":"规格名称","values":null}]}],"num":2,"scannedNum":0,"payWay":"微信支付","status":1,"logisticsStatusList":[{"id":"1408676565203148802","createBy":"管理员","createTime":"2021-06-26 14:40:40","updateBy":null,"updateTime":null,"sysOrgCode":"A01","waybillNumber":"D20210626144038727dae","status":0,"description":null,"lng":null,"lat":null,"beginStation":"1407890504443588609","endStation":null,"disposeStatus":null,"terminalStatus":null,"orderId":null,"driverId":null},{"id":"1408676565840683010","createBy":"管理员","createTime":"2021-06-26 14:40:40","updateBy":null,"updateTime":null,"sysOrgCode":"A01","waybillNumber":"D20210626144038727dae","status":1,"description":null,"lng":null,"lat":null,"beginStation":"1407890504443588609","endStation":null,"disposeStatus":null,"terminalStatus":null,"orderId":null,"driverId":null}],"collectPhoto":"","qrCode":"http://zhongzhiheyi.oss-cn-zhangjiakou.aliyuncs.com/D20210626144038727dae.png"}
     * timestamp : 1624695031098
     */

    private Boolean success;
    private String message;
    private Integer code;
    private ResultDTO result;
    private Long timestamp;

    public Boolean isSuccess() {
        return success;
    }

    public void setSuccess(Boolean success) {
        this.success = success;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public ResultDTO getResult() {
        return result;
    }

    public void setResult(ResultDTO result) {
        this.result = result;
    }

    public Long getTimestamp() {
        return timestamp;
    }

    public void setTimestamp(Long timestamp) {
        this.timestamp = timestamp;
    }

    public static class ResultDTO {
        /**
         * id : 1408676564875993090
         * createTime : 2021-06-26 14:40:40
         * waybillNumber : D20210626144038727dae
         * mailName : 张三
         * mailPhone : 12345678901
         * mailAddress : 150102金水区郑州东站
         * receiveName : 1231
         * receivePhone : 12323131
         * receiveAddress : 150523企鹅王
         * orderDetailList : [{"id":"1","createBy":null,"createTime":null,"updateBy":null,"updateTime":null,"orderNumber":"121","commodityId":"1405419004613947394","commodityNum":1,"commoditySpecification":"[{\"key\":\"规格名称\",\"value\":\"1\"}]","commodityPrice":25,"commodityName":"华为p30","commodityPhoto":"temp/微信图片_20210415174441_1623912676761.png","commoditySpList":[{"key":"规格名称","values":null}]},{"id":"2","createBy":null,"createTime":null,"updateBy":null,"updateTime":null,"orderNumber":"121","commodityId":"1405423763274194945","commodityNum":1,"commoditySpecification":"[{\"key\":\"规格名称\",\"value\":\"1\"}]","commodityPrice":25,"commodityName":"华为p40","commodityPhoto":"http://zhongzhiheyi.oss-cn-zhangjiakou.aliyuncs.com/temp/微信图片_202106151520431_1623914003872.png","commoditySpList":[{"key":"规格名称","values":null}]}]
         * num : 2
         * scannedNum : 0
         * payWay : 微信支付
         * status : 1
         * logisticsStatusList : [{"id":"1408676565203148802","createBy":"管理员","createTime":"2021-06-26 14:40:40","updateBy":null,"updateTime":null,"sysOrgCode":"A01","waybillNumber":"D20210626144038727dae","status":0,"description":null,"lng":null,"lat":null,"beginStation":"1407890504443588609","endStation":null,"disposeStatus":null,"terminalStatus":null,"orderId":null,"driverId":null},{"id":"1408676565840683010","createBy":"管理员","createTime":"2021-06-26 14:40:40","updateBy":null,"updateTime":null,"sysOrgCode":"A01","waybillNumber":"D20210626144038727dae","status":1,"description":null,"lng":null,"lat":null,"beginStation":"1407890504443588609","endStation":null,"disposeStatus":null,"terminalStatus":null,"orderId":null,"driverId":null}]
         * collectPhoto :
         * qrCode : http://zhongzhiheyi.oss-cn-zhangjiakou.aliyuncs.com/D20210626144038727dae.png
         */

        private String id;
        private String createTime;
        private String waybillNumber;
        private String mailName;
        private String mailPhone;
        private String mailAddress;
        private String receiveName;
        private String receivePhone;
        private String receiveAddress;
        private Integer num;
        private Integer scannedNum;
        private String payWay;
        private Integer status;
        private String collectPhoto;
        private String qrCode;
        private List<OrderDetailListDTO> orderDetailList;
        private List<LogisticsStatusListDTO> logisticsStatusList;

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getCreateTime() {
            return createTime;
        }

        public void setCreateTime(String createTime) {
            this.createTime = createTime;
        }

        public String getWaybillNumber() {
            return waybillNumber;
        }

        public void setWaybillNumber(String waybillNumber) {
            this.waybillNumber = waybillNumber;
        }

        public String getMailName() {
            return mailName;
        }

        public void setMailName(String mailName) {
            this.mailName = mailName;
        }

        public String getMailPhone() {
            return mailPhone;
        }

        public void setMailPhone(String mailPhone) {
            this.mailPhone = mailPhone;
        }

        public String getMailAddress() {
            return mailAddress;
        }

        public void setMailAddress(String mailAddress) {
            this.mailAddress = mailAddress;
        }

        public String getReceiveName() {
            return receiveName;
        }

        public void setReceiveName(String receiveName) {
            this.receiveName = receiveName;
        }

        public String getReceivePhone() {
            return receivePhone;
        }

        public void setReceivePhone(String receivePhone) {
            this.receivePhone = receivePhone;
        }

        public String getReceiveAddress() {
            return receiveAddress;
        }

        public void setReceiveAddress(String receiveAddress) {
            this.receiveAddress = receiveAddress;
        }

        public Integer getNum() {
            return num;
        }

        public void setNum(Integer num) {
            this.num = num;
        }

        public Integer getScannedNum() {
            return scannedNum;
        }

        public void setScannedNum(Integer scannedNum) {
            this.scannedNum = scannedNum;
        }

        public String getPayWay() {
            return payWay;
        }

        public void setPayWay(String payWay) {
            this.payWay = payWay;
        }

        public Integer getStatus() {
            return status;
        }

        public void setStatus(Integer status) {
            this.status = status;
        }

        public String getCollectPhoto() {
            return collectPhoto;
        }

        public void setCollectPhoto(String collectPhoto) {
            this.collectPhoto = collectPhoto;
        }

        public String getQrCode() {
            return qrCode;
        }

        public void setQrCode(String qrCode) {
            this.qrCode = qrCode;
        }

        public List<OrderDetailListDTO> getOrderDetailList() {
            return orderDetailList;
        }

        public void setOrderDetailList(List<OrderDetailListDTO> orderDetailList) {
            this.orderDetailList = orderDetailList;
        }

        public List<LogisticsStatusListDTO> getLogisticsStatusList() {
            return logisticsStatusList;
        }

        public void setLogisticsStatusList(List<LogisticsStatusListDTO> logisticsStatusList) {
            this.logisticsStatusList = logisticsStatusList;
        }

        public static class OrderDetailListDTO {
            /**
             * id : 1
             * createBy : null
             * createTime : null
             * updateBy : null
             * updateTime : null
             * orderNumber : 121
             * commodityId : 1405419004613947394
             * commodityNum : 1
             * commoditySpecification : [{"key":"规格名称","value":"1"}]
             * commodityPrice : 25
             * commodityName : 华为p30
             * commodityPhoto : temp/微信图片_20210415174441_1623912676761.png
             * commoditySpList : [{"key":"规格名称","values":null}]
             */

            private String id;
            private Object createBy;
            private Object createTime;
            private Object updateBy;
            private Object updateTime;
            private String orderNumber;
            private String commodityId;
            private Integer number;
            private String commoditySpecification;
            private Integer commodityPrice;
            private String commodityName;
            private String commodityMainPhoto;
            private String commoditySpData;

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public Object getCreateBy() {
                return createBy;
            }

            public void setCreateBy(Object createBy) {
                this.createBy = createBy;
            }

            public Object getCreateTime() {
                return createTime;
            }

            public void setCreateTime(Object createTime) {
                this.createTime = createTime;
            }

            public Object getUpdateBy() {
                return updateBy;
            }

            public void setUpdateBy(Object updateBy) {
                this.updateBy = updateBy;
            }

            public Object getUpdateTime() {
                return updateTime;
            }

            public void setUpdateTime(Object updateTime) {
                this.updateTime = updateTime;
            }

            public String getOrderNumber() {
                return orderNumber;
            }

            public void setOrderNumber(String orderNumber) {
                this.orderNumber = orderNumber;
            }

            public String getCommodityId() {
                return commodityId;
            }

            public void setCommodityId(String commodityId) {
                this.commodityId = commodityId;
            }


            public String getCommoditySpecification() {
                return commoditySpecification;
            }

            public void setCommoditySpecification(String commoditySpecification) {
                this.commoditySpecification = commoditySpecification;
            }

            public Integer getCommodityPrice() {
                return commodityPrice;
            }

            public void setCommodityPrice(Integer commodityPrice) {
                this.commodityPrice = commodityPrice;
            }

            public String getCommodityName() {
                return commodityName;
            }

            public void setCommodityName(String commodityName) {
                this.commodityName = commodityName;
            }

            public Integer getNumber() {
                return number;
            }

            public void setNumber(Integer number) {
                this.number = number;
            }

            public String getCommodityMainPhoto() {
                return commodityMainPhoto;
            }

            public void setCommodityMainPhoto(String commodityMainPhoto) {
                this.commodityMainPhoto = commodityMainPhoto;
            }

            public String getCommoditySpData() {
                return commoditySpData;
            }

            public void setCommoditySpData(String commoditySpData) {
                this.commoditySpData = commoditySpData;
            }
        }

        public static class LogisticsStatusListDTO {
            /**
             * id : 1408676565203148802
             * createBy : 管理员
             * createTime : 2021-06-26 14:40:40
             * updateBy : null
             * updateTime : null
             * sysOrgCode : A01
             * waybillNumber : D20210626144038727dae
             * status : 0
             * description : null
             * lng : null
             * lat : null
             * beginStation : 1407890504443588609
             * endStation : null
             * disposeStatus : null
             * terminalStatus : null
             * orderId : null
             * driverId : null
             */

            private String id;
            private String createBy;
            private String createTime;
            private Object updateBy;
            private Object updateTime;
            private String sysOrgCode;
            private String waybillNumber;
            private Integer status;
            private Object description;
            private Object lng;
            private Object lat;
            private String beginStation;
            private Object endStation;
            private Object disposeStatus;
            private Object terminalStatus;
            private Object orderId;
            private Object driverId;

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getCreateBy() {
                return createBy;
            }

            public void setCreateBy(String createBy) {
                this.createBy = createBy;
            }

            public String getCreateTime() {
                return createTime;
            }

            public void setCreateTime(String createTime) {
                this.createTime = createTime;
            }

            public Object getUpdateBy() {
                return updateBy;
            }

            public void setUpdateBy(Object updateBy) {
                this.updateBy = updateBy;
            }

            public Object getUpdateTime() {
                return updateTime;
            }

            public void setUpdateTime(Object updateTime) {
                this.updateTime = updateTime;
            }

            public String getSysOrgCode() {
                return sysOrgCode;
            }

            public void setSysOrgCode(String sysOrgCode) {
                this.sysOrgCode = sysOrgCode;
            }

            public String getWaybillNumber() {
                return waybillNumber;
            }

            public void setWaybillNumber(String waybillNumber) {
                this.waybillNumber = waybillNumber;
            }

            public Integer getStatus() {
                return status;
            }

            public void setStatus(Integer status) {
                this.status = status;
            }

            public Object getDescription() {
                return description;
            }

            public void setDescription(Object description) {
                this.description = description;
            }

            public Object getLng() {
                return lng;
            }

            public void setLng(Object lng) {
                this.lng = lng;
            }

            public Object getLat() {
                return lat;
            }

            public void setLat(Object lat) {
                this.lat = lat;
            }

            public String getBeginStation() {
                return beginStation;
            }

            public void setBeginStation(String beginStation) {
                this.beginStation = beginStation;
            }

            public Object getEndStation() {
                return endStation;
            }

            public void setEndStation(Object endStation) {
                this.endStation = endStation;
            }

            public Object getDisposeStatus() {
                return disposeStatus;
            }

            public void setDisposeStatus(Object disposeStatus) {
                this.disposeStatus = disposeStatus;
            }

            public Object getTerminalStatus() {
                return terminalStatus;
            }

            public void setTerminalStatus(Object terminalStatus) {
                this.terminalStatus = terminalStatus;
            }

            public Object getOrderId() {
                return orderId;
            }

            public void setOrderId(Object orderId) {
                this.orderId = orderId;
            }

            public Object getDriverId() {
                return driverId;
            }

            public void setDriverId(Object driverId) {
                this.driverId = driverId;
            }
        }
    }
}
